Skip to content

Show query text in QueryHistory UI#806

Merged
mosabua merged 1 commit into
trinodb:mainfrom
kbhatianr:kbhatia-querytext
Dec 18, 2025
Merged

Show query text in QueryHistory UI#806
mosabua merged 1 commit into
trinodb:mainfrom
kbhatianr:kbhatia-querytext

Conversation

@kbhatianr
Copy link
Copy Markdown
Contributor

@kbhatianr kbhatianr commented Dec 10, 2025

Description

In PR-740, the UI was updated to show the query text in the QueryHistory component in a modal component, to account for larger query texts. This makes it more difficult for smaller query texts that would fit otherwise in the page.
In this PR, we revert back to showing the query text, but also make it a link that's clickable for larger texts.

Previous to the change, screenshot:
image

After the change screenshot:
image

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
(X) Release notes are required, with the following suggested text:

* Show truncated query text in Query History UI

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Dec 10, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Comment thread webapp/src/components/history.tsx
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Dec 11, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@kbhatianr
Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Dec 17, 2025
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Dec 17, 2025

The cla-bot has been summoned, and re-checked this pull request!

Copy link
Copy Markdown
Member

@vishalya vishalya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Comment thread webapp/src/components/history.tsx
Comment thread webapp/README.md Outdated
@Chaho12
Copy link
Copy Markdown
Member

Chaho12 commented Dec 18, 2025

Change commit mesesage, split commit and we are good to go

@ebyhr
Copy link
Copy Markdown
Member

ebyhr commented Dec 18, 2025

@kbhatianr Thanks for attaching the screenshot! Can you provide 2 screenshots (before and after this change)? It will reduce reviewer's burden.

Copy link
Copy Markdown
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great now

Comment thread webapp/README.md Outdated

# Development

## Pre-Requisites
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Pre-Requisites
## Requirements
* pnpm installed and available on the PATH

Comment thread webapp/README.md Outdated
## Pre-Requisites
1. pnpm

MacOS:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove that whole thing and maybe just link to the pnpm website in the bullet item list

Comment thread webapp/README.md Outdated
brew install pnpm
```

## Build & Run
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Build & Run
## Build and run

@mosabua mosabua merged commit 8b88412 into trinodb:main Dec 18, 2025
2 checks passed
@github-actions github-actions Bot added this to the 17 milestone Dec 18, 2025
@kbhatianr kbhatianr deleted the kbhatia-querytext branch December 18, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants